package com.jyxd.web.hiscz.dto.advice.order_group.order_detail_group.pharmacy_detail.pharmacy_order;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jyxd.web.hiscz.dto.CodingDto;
import com.jyxd.web.hiscz.dto.advice.order_group.order_detail_group.pharmacy_detail.pharmacy_order.pharmacy.CoefficientDto;
import com.jyxd.web.hiscz.dto.advice.order_group.order_detail_group.pharmacy_detail.pharmacy_order.pharmacy.PAPDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("药品")
@Data
public class PharmacyDto {

    @JsonProperty(value = "IDM")
    @ApiModelProperty(name = "药品IDM代码")
    private String idm;

    @JsonProperty(value = "Name")
    @ApiModelProperty(name = "药品名称")
    private String name;

    @JsonProperty(value = "DosageForm")
    @ApiModelProperty(name = "剂型代码")
    private CodingDto dosageForm;

    @JsonProperty(value = "CoefficientList")
    @ApiModelProperty(name = "系数值规格")
    private CoefficientDto coefficientList;

    @JsonProperty(value = "PAP")
    @ApiModelProperty(name = "毒麻精类规格")
    private PAPDto pap;

    @JsonProperty(value = "ExtentionList")
    @ApiModelProperty(name = "0-普通 1-自备 2-PRN，药品类别")
    private List<CodingDto> extentionList;
}
